home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / netinfo.535 < prev    next >
Text File  |  1992-02-06  |  4KB  |  122 lines

  1. {\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f0\fmodern Courier;}
  2. \paperw12720
  3. \paperh7740
  4. \margl120
  5. \margr2160
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs28 NetInfo server move\
  7. \
  8. Q:  How can I move an existing NetInfo server to another machine?\
  9. \
  10. A:  This NextAnswer assumes an existing two-level NetInfo hierarchy.  The move of a 3-level NetInfo domain server is similar.\
  11. \
  12. Replace 
  13. \i oldserver
  14. \i0  and 
  15. \i newserver
  16. \i0  with the hostnames of your existing and new NetInfo servers.\
  17. \
  18.  
  19. \pard\tx1240\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-340\li1240 1)    If you want to move the NetInfo server to a new machine, add the machine to the Network first.  See Chapter 3 of the Network and System Administration book.\
  20.      \
  21. 2)    Shut down all the machines on your network, except the current master NetInfo server and the new machine which will become the master configuration server.\
  22.      \
  23. 3)    On the new NetInfo server, Launch NetManager.  In the Local Configuration change the Hostname and Address from Autoconfigure to their actual values.  Click the check box and make the machine a clone NetInfo server.\
  24. \
  25. 4)    Take a break of around 15 minutes, to allow all the information in the domain to be propagated to 
  26. \i newserver
  27. \i0 .    \
  28. \
  29. 5)    On the existing NetInfo server do the following:\
  30. \
  31.  
  32. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-320\li1940 •    Launch NetInfoManager and open the root domain, then do the following:\
  33. \
  34.  
  35. \pard\tx960\tx2440\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-260\li2440 ·    rename the master property from 
  36. \f0\i\fs24 oldserver
  37. \i0 /network
  38. \f2\fs28  to 
  39. \f0\i\fs24 newserver
  40. \i0 /network
  41. \f2\fs28  \
  42. \
  43. ·    in the machines directory for oldserver,  remove the ./network value from the serves property.  Leave the other value intact.  Make sure that the machines directory contains the following properties:\
  44. \
  45.  
  46. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fs24\li3340 en_address, bootfile, bootparams
  47. \f2\fs28 \
  48.  
  49. \pard\tx960\tx2440\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-260\li2440 \
  50.  
  51. \fi0 The bootfile and bootparams properties may have no value, but must exist.\
  52.  
  53. \fi-260 \
  54. ·    in the machines directory for 
  55. \i newserver
  56. \i0 , add the 
  57. \f0\fs24 ./network
  58. \f2\fs28  value to the serves 
  59. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 property.\
  60.  
  61. \pard\tx960\tx2440\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-260\li2440 \
  62.  
  63. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-320\li1940 •    Wait about five minutes, to ensure that the change has propagated to 
  64. \i newserver
  65. \i0 .\
  66. \
  67. •    Launch Shell or Terminal as root and run the following commands:\
  68. \
  69.  
  70. \f0\i\fs24\fi0\li3340 oldserver
  71. \i0 # 
  72. \b cd /etc
  73. \b0 \
  74.  
  75. \i oldserver
  76. \i0 # 
  77. \b cp -p hostconfig hostconfig.serv
  78. \b0 \
  79.  
  80. \i oldserver
  81. \i0 # 
  82. \b cd netinfo
  83. \b0 \
  84.  
  85. \i oldserver
  86. \i0 # 
  87. \b mv network.nidb network.nidb.serv
  88. \b0 \
  89.  
  90. \f2\fs28\fi-320\li1940 \
  91. •    Edit /etc/hostconfig and change the following parameters to their new values:\
  92. \
  93.  
  94. \f0\fs24\fi0\li3340 HOSTNAME=-AUTOMATIC-\
  95. INETADDR=-AUTOMATIC-\
  96. NETMASTER=-NO-\
  97.  
  98. \f2\fs28\fi-320\li1940 \
  99.  
  100. \pard\tx1240\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-340\li1240 6)    Power down both 
  101. \i oldserver
  102. \i0  and 
  103. \i newserver
  104. \i0 . Power on 
  105. \i newserver
  106. \i0  and then power on 
  107. \i oldserver
  108. \i0 , once 
  109. \i newserver
  110. \i0  is fully up and running.  Verify the value of the master property in NetInfoManager.  Now boot the rest of the machines on your network\
  111.  
  112. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-320\li1940 \
  113.  
  114. \fi0\li0 QA535\
  115. \
  116.  
  117. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320 Valid for 1.0\
  118. Valid for 2.0\
  119.  
  120. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 \
  121.  
  122.